﻿using System;
using System.Collections.Generic;
using System.Text;

namespace Com.Guocz.Media.FileSystem
{
    public class MetaInfo : ISerializable
    {
        public string IndexFile
        {
            get;
            set;
        }

        public string DataMale
        {
            get;
            set;
        }

        public string DataFemale
        {
            get;
            set;
        }

        #region ISerializable Members

        public void readField(System.IO.BinaryReader input)
        {
            IndexFile = input.ReadString();
            DataFemale = input.ReadString();
            DataMale = input.ReadString();
        }

        public void writeField(System.IO.BinaryWriter output)
        {
            output.Write(IndexFile);
            output.Write(DataFemale);
            output.Write(DataMale);
        }

        #endregion

        public override string ToString()
        {
            return IndexFile + ";" + DataMale + ";" + DataFemale;
        }
    }
}
